package models

//
import "github.com/astaxie/beego/orm"

type HorseMans struct {
	Id        int
	Star      int    `orm:"default(5)"`
	User      *User  `orm:"rel(one)"`
	Level     int    `description:"等级  1 等级一  最高  5"`
	Name      string `description:"骑手姓名"`
	Phone     string `orm:"unique" description:"骑手手机号"`
	IDCard    string `orm:"unique" description:"骑手身份证号"`
	HomePlace string `orm:"unique" description:"骑手出生地址"`
}

func init() {
	orm.RegisterModel(new(HorseMans))
}
